package com.xyz.dto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.xyz.pojo.OrderDetail;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class OrderDTO {
	/**
	 * 订单ID
	 */
	private String orderId;
	/**
	 * 买家名字
	 */
	private String buyerName;
	/**
	 * 买家手机号码
	 */
	private String buyerPhone;

	/**
	 * 买家地址
	 */
	private String buyerAddress;

	/**
	 * 买家微信ID
	 * 
	 */
	private String buyerOpenid;

	/**
	 * 订单金额
	 */
	private BigDecimal orderAmount;

	/**
	 * 订单状态，默认0新下单
	 */
	private Integer orderStatus;

	/**
	 * 支付状态,默认0未支付
	 */
	private Integer payStatus;

	/**
	 * 订单创建时间
	 */
	private Date createTime;

	/**
	 * 订单跟时间
	 */
	private Date updateTime;

	private List<OrderDetail> orderDetailList;
}
